<%-- 
    Document   : HapusBiro
    Created on : 04 Des 12, 18:51:27
    Author     : wisnu
--%>

<%@page import="com.bp.Biro"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.Enumeration"%>
<%@page import="java.util.*"%>
<%@page import="com.bp.Paket" %>
<!DOCTYPE html>
<jsp:useBean id="biro" scope="application" class="com.bp.Biro"/>




<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Hapus Biro</title>
    </head>
    <body class="backround">
        <style type="text/css">
            .backround{background-image: url("img/background.jpg");
            }
            .menu-top a{color:darkgray;width:auto;float:left;display:block;
                        text-align:center;
                        padding:6px 0 0;
                        -transition:border linear .2s,color linear .2s;
                        -moz-transition:border linear .2s,color linear .2s;
                        -webkit-transition:border linear .2s,color linear .2s;
                        -o-transition:border linear .2s,color linear .2s;}
            .menu-top a:hover{color:#fff;}
            .hover a:hover{color: #ffffff}
            .timeline-header a
            {padding:5px;color:#ccc;
             -transition:border linear .2s,color linear .2s;
             -moz-transition:border linear .2s,color linear .2s;
             -webkit-transition:border linear .2s,color linear .2s;
             -o-transition:border linear .2s,color linear .2s;}

        </style>

    </body>
    <body>
    <center> <a href="Admin.html"><img src="img/logo gredy.jpg" width="1350" height="120"/></a></center>
    <h1>Hapus Biro Pariwisata</h1>
    
         <%
    String BiroId = request.getParameter("BiroId");
   com.bp.Biro PB = new com.bp.Biro();
PB.hapusBiro(BiroId );
%>
    <table border=1 align="center">
            <TR>
                <TD><FONT FACE="Verdana" SIZE="3"><B>Id_Biro</B></FONT></TD>
                <TD><FONT FACE="Verdana" SIZE="3"><B>Nama_Biro</B></FONT></TD>
                <TD><FONT FACE="Verdana" SIZE="3"><B>Alamat</B></FONT></TD>
                <TD><FONT FACE="Verdana" SIZE="3"><B>No_Telp</B></FONT></TD>
                <TD><FONT FACE="Verdana" SIZE="3"><B>Email_Biro</B></FONT></TD>
                
            </TR>  
            
             
              
            <%
            ArrayList br = biro.lihatDataBiro();
            for (int idx = 0; idx < br.size(); idx++) {

                Biro product = (Biro) br.get(idx);
            %>
             <tr>
                <td><%=product.id_biro%></td>
                <td><%=product.nama_biro%></td>
                <td><%=product.Alamat%></td>
                <td><%=product.no_telp%></td>
                <td><%=product.email_biro%></td>
                <TD><a href="FormHapusBiro.jsp?action=hapusb&id_biro=<%=product.id_biro%>&nama_biro=<%=product.nama_biro%>&Alamat=<%=product.Alamat%>&no_telp=<%=product.no_telp%>&email_biro=<%=product.email_biro%>" style="text-decoration: none">Hapus</a> </TD>
              </tr>
               <% } %>
        </table>
        </center>
<center>
    <br>
    <hr style="color: whitesmoke;" size=" 2px" >
    <br><div class="txt_content03"><b> BiroWisataGreedy.com
        Tel: 62-274-878555 (Hunting), 878777, 0274-70949944 Mobile: 0274-99681382, 99995259 Fax: 62-274-8355802 <br>

        Email: info@BiroWisataGreedy.com
        <br><br>
        Support by : <br>
        <a href="http://www.usd.ac.id" target="_blank">Universitas Sanata Dharma</a>
        <br>
        </div>
    
</body>
</html>